import requests from "./base";

//获取订单信息
export const getOrderList = (params?:unknown)=> requests.post("/order/list",params)

//获取产品信息(不分页)
export const getAllProduct = (params?:unknown)=> requests.post("/order/listPro",params)

//获取用户信息(不分页)
export const getAllUser = (params?:unknown)=> requests.post("/order/listUser",params)

//创建订单
export const addOrder = (params?:unknown)=> requests.post("/order/create",params)

//处理订单
export const handlerOrder = (params?:unknown)=> requests.post("/order/update",params)

//删除订单
export const deleteOrder = (params?:unknown)=> requests.post("/order/remove",params)